package com.lagou.sqlsession;

import com.lagou.config.Configuration;
import com.lagou.mapping.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {

    <E> List<E> query(MappedStatement mappedStatement, Object... params) throws Exception;

    int update(MappedStatement mappedStatement, Object... params) throws Exception;
}
